<template>
  <!--  <view class="goods-list">
    <view class="goods-item">
      <view class="item-left">
        <radio class="chooseBtn" :checked="true" />
      </view>
      <view class="item-middle"></view>
      <view class="item-right">
        <text class="item-title">这是标题这是标题这是标题这是标题</text>
        <text class="item-money">
          <text class="money">￥600</text>
          <text class="point">1500积分</text>
        </text>
        <text class="item-volume">
          <text>容量:</text>
          <text>15ml</text>
        </text>
        <view class="item-numberBox">
          <uni-number-box :min="1"></uni-number-box>
        </view>
      </view>
      <view class="item-dele">
        <uni-icons class="dele" type="trash"></uni-icons>
      </view>
    </view>
  </view> -->

  <!-- 购物车为空的时候显示的值 -->
  <!--  <view class="cart-empty">
    <image src="../../static/矢量智能对象@2x.png" mode=""></image>
    <text class="empty">您的购物车什么都没有~</text>
    <button type="default" class="empty-btn">去逛逛</button>
  </view> -->

  <!-- 提示框 -->
  <view class="tips">
   <view class="tips-dele">
     <text>提示</text>
      <text>是否从购物车中删除</text>
      <text>
        <text>取消</text>
        <text>确定</text>
      </text>
    </view>
  </view>
</template>

<script>
export default {
  name: 'my-goods',
  data() {
    return {};
  }
};
</script>

<style lang="scss">
.goods-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  .goods-item {
    width: 691rpx;
    height: 270rpx;
    background-color: #ffffff;
    margin-top: 25rpx;
    border-radius: 12rpx;
    display: flex;
    position: relative;
    .item-left {
      width: 63rpx;
      .chooseBtn {
        margin-top: 114rpx;
        margin-left: 28rpx;
        transform: scale(0.7);
        color: #dcc68d;
      }
    }
    .item-middle {
      width: 164rpx;
      height: 199rpx;
      background-color: #aeaeae;
      margin-top: 36rpx;
      margin-left: 35rpx;
    }
    .item-right {
      display: flex;
      flex-direction: column;
      margin-left: 47rpx;
      .item-title {
        width: 280rpx;
        color: #333;
        font-size: 26rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-top: 36rpx;
      }
      .item-money {
        width: 187rpx;
        font-size: 26rpx;
        margin-top: 26rpx;
        margin-bottom: 21rpx;
        .money {
          color: #333;
        }
        .point {
          color: #e0bc60;
        }
      }
      .item-volume {
        color: #999999;
        font-size: 24rpx;
        display: flex;
        width: 140rpx;
        height: 26rpx;
        align-items: center;
        text {
          margin-left: 8rpx;
        }
      }
      .item-numberBox {
        margin-top: 28rpx;
      }
    }
    .item-dele {
      margin-top: 35rpx;
      margin-left: 50rpx;
    }
  }
}

.cart-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  image {
    width: 160rpx;
    height: 160rpx;
  }
  .empty {
    color: #666666;
    font-size: 22rpx;
    margin-top: 40rpx;
  }
  .empty-btn {
    width: 280rpx;
    height: 70rpx;
    background: #202029;
    border-radius: 35rpx;
    margin-top: 73rpx;
    text-align: center;
    line-height: 70rpx;
    color: #ffffff;
    font-size: 24rpx;
  }
}

.tips {
  background: #000000;
  opacity: 0.8;
  .tips-dele{
    width: 527rpx;
    height: 323rpx;
    background-color: #fff;
    border: 1rpx solid #000000;
    border-radius: 27rpx;
    margin-left: 108rpx;
    display: flex;
    flex-direction: column;
  }
}
</style>
